import random

def new_shot():
    return 1 if (-7 <= random.randint(-100, 100) <= 5) and (-8 <= random.randint(-100, 100) <= 5) else 0

count_shots = int(input())
last_shots = 0
for i in range(count_shots):
    last_shots += new_shot()

print(f"Количество выстрелов: {count_shots}")
print(f"Количество попаданий: {last_shots}")